[INFO] cloning repository https://github.com/cdaringe/rust_tokio_client_with_concurrent_bg_tasks
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cdaringe/rust_tokio_client_with_concurrent_bg_tasks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcdaringe%2Frust_tokio_client_with_concurrent_bg_tasks", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcdaringe%2Frust_tokio_client_with_concurrent_bg_tasks'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 76fb79f7b8317eae6d6977064cf0332caea89b2e
[INFO] fixing cdaringe/rust_tokio_client_with_concurrent_bg_tasks against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcdaringe%2Frust_tokio_client_with_concurrent_bg_tasks" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/cdaringe/rust_tokio_client_with_concurrent_bg_tasks
[INFO] finished tweaking git repo https://github.com/cdaringe/rust_tokio_client_with_concurrent_bg_tasks
[INFO] tweaked toml for git repo https://github.com/cdaringe/rust_tokio_client_with_concurrent_bg_tasks written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/cdaringe/rust_tokio_client_with_concurrent_bg_tasks on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/cdaringe/rust_tokio_client_with_concurrent_bg_tasks already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 91f5235ceaf0938e2527544a54f74ac3e38635c1af63fc0514007061c8ac1eed
[INFO] running `Command { std: "docker" "start" "91f5235ceaf0938e2527544a54f74ac3e38635c1af63fc0514007061c8ac1eed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "91f5235ceaf0938e2527544a54f74ac3e38635c1af63fc0514007061c8ac1eed" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "91f5235ceaf0938e2527544a54f74ac3e38635c1af63fc0514007061c8ac1eed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "91f5235ceaf0938e2527544a54f74ac3e38635c1af63fc0514007061c8ac1eed" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling libc v0.2.152
[INFO] [stderr]    Compiling proc-macro2 v1.0.70
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking smallvec v1.11.2
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.41
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]     Checking tokio v1.35.1
[INFO] [stderr]     Checking concurrent_client v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/client.rs:37:25
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let config = { *self.config.clone().lock().unwrap() };
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^----------------  - ... and the borrow might be used here, when that temporary is dropped and runs the `Drop` code for type `std::sync::MutexGuard`
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         this temporary value will be dropped at the end of the block
[INFO] [stdout]    |                         a temporary with access to the borrow is created here ...
[INFO] [stdout]    |
[INFO] [stdout]    = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]            consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let config = { let x = *self.config.clone().lock().unwrap(); x };
[INFO] [stdout]    |                        +++++++                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/main.rs:12:51
[INFO] [stdout]    |
[INFO] [stdout] 12 |             println!("client query result: {}", { &client.query().await });
[INFO] [stdout]    |                                                 --^^^^^^^^^^^^^^^^^^^^^--
[INFO] [stdout]    |                                                 | |
[INFO] [stdout]    |                                                 | this temporary value will be dropped at the end of the block
[INFO] [stdout]    |                                                 borrow later used here
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.59s
[INFO] [stderr] crater-edition-check: concurrent_client v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/client.rs:37:25
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let config = { *self.config.clone().lock().unwrap() };
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^----------------  - ... and the borrow might be used here, when that temporary is dropped and runs the `Drop` code for type `std::sync::MutexGuard`
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         this temporary value will be dropped at the end of the block
[INFO] [stdout]    |                         a temporary with access to the borrow is created here ...
[INFO] [stdout]    |
[INFO] [stdout]    = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]            consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let config = { let x = *self.config.clone().lock().unwrap(); x };
[INFO] [stdout]    |                        +++++++                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/main.rs:12:51
[INFO] [stdout]    |
[INFO] [stdout] 12 |             println!("client query result: {}", { &client.query().await });
[INFO] [stdout]    |                                                 --^^^^^^^^^^^^^^^^^^^^^--
[INFO] [stdout]    |                                                 | |
[INFO] [stdout]    |                                                 | this temporary value will be dropped at the end of the block
[INFO] [stdout]    |                                                 borrow later used here
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking concurrent_client v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]   --> src/main.rs:12:52
[INFO] [stdout]    |
[INFO] [stdout] 12 |             println!("client query result: {}", { &client.query().await });
[INFO] [stdout]    |                                                 ---^^^^^^^^^^^^^^^^^^^---
[INFO] [stdout]    |                                                 |  |                  |
[INFO] [stdout]    |                                                 |  |                  temporary value is freed at the end of this statement
[INFO] [stdout]    |                                                 |  creates a temporary value which is freed while still in use
[INFO] [stdout]    |                                                 borrow later used here
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0716`.
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]   --> src/main.rs:12:52
[INFO] [stdout]    |
[INFO] [stdout] 12 |             println!("client query result: {}", { &client.query().await });
[INFO] [stdout]    |                                                 ---^^^^^^^^^^^^^^^^^^^---
[INFO] [stdout]    |                                                 |  |                  |
[INFO] [stdout]    |                                                 |  |                  temporary value is freed at the end of this statement
[INFO] [stdout]    |                                                 |  creates a temporary value which is freed while still in use
[INFO] [stdout]    |                                                 borrow later used here
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0716`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `concurrent_client` (bin "concurrent_client") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `concurrent_client` (bin "concurrent_client" test) due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "91f5235ceaf0938e2527544a54f74ac3e38635c1af63fc0514007061c8ac1eed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91f5235ceaf0938e2527544a54f74ac3e38635c1af63fc0514007061c8ac1eed", kill_on_drop: false }`
[INFO] [stdout] 91f5235ceaf0938e2527544a54f74ac3e38635c1af63fc0514007061c8ac1eed
